Skip to content

下载视频长度超过4G时,报错数组溢出 #713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
ForeverInfinity opened this issue May 16, 2025 · 4 comments
Open
1 of 2 tasks

下载视频长度超过4G时,报错数组溢出 #713

ForeverInfinity opened this issue May 16, 2025 · 4 comments

Comments

@ForeverInfinity
Copy link

ForeverInfinity commented May 16, 2025

扩展版本号 extension version

No response

浏览器 browser

其他基于 Chromium 的浏览器

浏览器版本号 browser version

Chromium 118.0.5993.159

涉及网址 related URL

No response

Checklist

  • 我已在 issues 通过搜索, 未找到解决办法。 The issue observed is not already reported by searching on Github under issues
  • 我已查看 FAQ 未找到解决办法。 I've checked the FAQ but couldn't find a solution.

请详细描述问题 What actually happened?

原因貌似是js数组长度限制是2^32-1

@xifangczy
Copy link
Owner

是的 这是扩展局限性。。解决这个问题 在m3u8解析器和下载器都添加了 边下边存 功能。。

@ForeverInfinity
Copy link
Author

是的 这是扩展局限性。。解决这个问题 在m3u8解析器和下载器都添加了 边下边存 功能。。

如果能检测到文件大小,最好是给一个用户提示,毕竟这样下载必定会失败

@xifangczy
Copy link
Owner

xifangczy commented May 17, 2025

单个文件超过2G就会提示。。。m3u8解析器 之后会加上估算的大小并提示。

@ForeverInfinity
Copy link
Author

单个文件超过2G就会提示。。。m3u8解析器 之后会加上估算的大小并提示。

好的,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants